package com.neuedu.spring.di;

import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

public class Person {

    //基础类型
    private String name;
    private Integer age;
    private Double salary;

    private boolean success;


    //引用类型
    private Address address;


    //学生集合
    private List<String> stuNames;

    private List<Student> stus;



    //课程名称集合
    private Set<String> courseName;


    //Properties properties
    Properties properties;


    //Map
    Map<String,String> score;



    Map<Object,Object> objMap;

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", salary=" + salary +
                ", success=" + success +
                ", address=" + address +
                ", stuNames=" + stuNames +
                ", stus=" + stus +
                ", courseName=" + courseName +
                ", properties=" + properties +
                ", score=" + score +
                ", objMap=" + objMap +
                '}';
    }

    public Map<Object, Object> getObjMap() {
        return objMap;
    }

    public void setObjMap(Map<Object, Object> objMap) {
        this.objMap = objMap;
    }



    public Map<String, String> getScore() {
        return score;
    }

    public void setScore(Map<String, String> score) {
        this.score = score;
    }

    public Properties getProperties() {
        return properties;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public void setSalary(Double salary) {
        this.salary = salary;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getName() {
        return name;
    }

    public Integer getAge() {
        return age;
    }

    public Double getSalary() {
        return salary;
    }

    public boolean isSuccess() {
        return success;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public Set<String> getCourseName() {
        return courseName;
    }

    public void setCourseName(Set<String> courseName) {
        this.courseName = courseName;
    }

    public List<String> getStuNames() {
        return stuNames;
    }

    public void setStuNames(List<String> stuNames) {
        this.stuNames = stuNames;
    }

    public List<Student> getStus() {
        return stus;
    }

    public void setStus(List<Student> stus) {
        this.stus = stus;
    }

}
